package org.blankie.model.fs;


/**
 *
 * @author francois.mora@blankie.org
 */
public class BlkFile extends BlkFSResource {

    private static final long serialVersionUID = 0L;

    BlkFile(BlkFSDriver driver, BlkFSPath path) {
        super(driver, path);
    }
    
    @Override
    public String getName() {
        return getId().getFile().getName();
    }

    public BlkFolder getParent() {
        return getDriver().getParent(this);
    }
    
}
